Skip to content

Conversation

codeismail-waver
Copy link
Contributor

Transaction id is nil in the payload returned to sdk integrators. This pr includes transaction id if it exists.

Before

  FlutterwaveDataResponse(
       txRef: txRef, 
       flwRef: flwRef, 
       deviceFingerprint: nil, 
       amount: amount, 
       chargedAmount: chargedAmount, 
       appFee: appFee,
       merchantFee: merchantFee, 
       processorResponse: processorResponse, 
       authModel: nil, 
       currency: currency, 
       ip: ip, 
       narration: narration, 
       status: status, 
       authURL:nil, 
       paymentType: nil, 
       fraudStatus: nil, 
       chargeType: nil, 
       createdAt: nil, 
       plan: nil, 
       id: nil, 
       accountID: nil, 
       customer: customer, card: nil)

After

  FlutterwaveDataResponse(
       txRef: txRef, 
       flwRef: flwRef, 
       deviceFingerprint: nil, 
       amount: amount, 
       chargedAmount: chargedAmount, 
       appFee: appFee,
       merchantFee: merchantFee, 
       processorResponse: processorResponse, 
       authModel: nil, 
       currency: currency, 
       ip: ip, 
       narration: narration, 
       status: status, 
       authURL:nil, 
       paymentType: nil, 
       fraudStatus: nil, 
       chargeType: nil, 
       createdAt: nil, 
       plan: nil, 
       id: id, //nullable id (returns id if it exist) 
       accountID: nil, 
       customer: customer, card: nil)

Copy link
Contributor

@kpoose kpoose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@corneliusyaovi corneliusyaovi merged commit 39a7ee3 into Flutterwave:dev Sep 24, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants